.class Lcom/glympse/android/glympse/Glympse$SetFocusDelayedRunnable;
.super Lcom/glympse/platform/GRunnable;
.source "Glympse.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/glympse/android/glympse/Glympse;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0xa
    name = "SetFocusDelayedRunnable"
.end annotation


# instance fields
.field private m_fHideKeyboard:Z

.field private m_oView:Landroid/view/View;


# direct methods
.method public constructor <init>(Landroid/view/View;Z)V
    .locals 1
    .parameter "oView"
    .parameter "fHideKeyboard"

    .prologue
    .line 2236
    invoke-direct {p0}, Lcom/glympse/platform/GRunnable;-><init>()V

    .line 2232
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse$SetFocusDelayedRunnable;->m_oView:Landroid/view/View;

    .line 2233
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/glympse/android/glympse/Glympse$SetFocusDelayedRunnable;->m_fHideKeyboard:Z

    .line 2238
    iput-object p1, p0, Lcom/glympse/android/glympse/Glympse$SetFocusDelayedRunnable;->m_oView:Landroid/view/View;

    .line 2239
    iput-boolean p2, p0, Lcom/glympse/android/glympse/Glympse$SetFocusDelayedRunnable;->m_fHideKeyboard:Z

    .line 2240
    return-void
.end method


# virtual methods
.method public Run()V
    .locals 2

    .prologue
    .line 2248
    :try_start_0
    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse$SetFocusDelayedRunnable;->m_oView:Landroid/view/View;

    invoke-static {v1}, Lcom/glympse/android/glympse/Glympse;->SetFocusEvenInTouchMode(Landroid/view/View;)V

    .line 2251
    iget-boolean v1, p0, Lcom/glympse/android/glympse/Glympse$SetFocusDelayedRunnable;->m_fHideKeyboard:Z

    if-eqz v1, :cond_0

    sget-object v1, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    if-eqz v1, :cond_0

    .line 2253
    sget-object v1, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/Glympse;->HideKeyboard()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 2260
    :cond_0
    :goto_0
    return-void

    .line 2256
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 2258
    .local v0, e:Ljava/lang/Exception;
    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    goto :goto_0
.end method
